Appearance-Compliant Menu Item Type Constants
NEW WITH THE APPEARANCE MANAGER
You can pass one of the following constants in theinItemType
parameters ofDrawThemeMenuItem
andGetThemeMenuItemExtra
to specify menu item type.
enum { kThemeMenuItemPlain = 0, kThemeMenuItemHierarchical = 1, kThemeMenuItemScrollUpArrow = 2, kThemeMenuItemScrollDownArrow = 3 }; typedef SInt16 ThemeMenuItemType;Constant descriptions
kThemeMenuItemPlain
- A plain menu item.
kThemeMenuItemHierarchical
- A hierarchical menu item.
kThemeMenuItemScrollUpArrow
- A scroll-up arrow.
kThemeMenuItemScrollDownArrow
- A scroll-down arrow.
SPECIAL CONSIDERATIONS
Make sure Appearance Manager 1.0.1 is present before using theThemeMenuItemType
type or the Appearance-compliant menu item type constants. See "Appearance Manager Gestalt Selector Constants" for details on how to determine if the Appearance Manager is present and what its version is, if so.